#ifndef _SHELL_PUNISHSWAPINFO_BEAN_H_
#define _SHELL_PUNISHSWAPINFO_BEAN_H_

#include "Beans.h"
#include "Message.h"
using namespace std;
class PunishSwapInfo : public Bean
{
	public:
	PunishSwapInfo();
	~PunishSwapInfo();
	void reset();
	PunishSwapInfo* clone();
	//兑换id
	int32 sid;
	//减少的物品
	string minus;
	//增加的物品
	string add;
	
	bool read_from(ByteBuf& buf);
	bool write_to(ByteBuf& buf);
};

#endif
